|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Timeline
negotiator.ContinuousTimeline
negotiator.PausableContinuousTimeline
public class PausableContinuousTimeline
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class negotiator.Timeline |
|---|
Timeline.Type |
| Field Summary |
|---|
| Fields inherited from class negotiator.ContinuousTimeline |
|---|
startTime |
| Fields inherited from class negotiator.Timeline |
|---|
hasDeadline, paused |
| Constructor Summary | |
|---|---|
PausableContinuousTimeline(int totalSecs)
|
|
| Method Summary | |
|---|---|
double |
getElapsedMilliSeconds()
Gets the elapsed time in seconds. |
double |
getElapsedSeconds()
Gets the elapsed time in seconds. |
static void |
main(java.lang.String[] args)
|
void |
pause()
Method used to pause the timeline. |
void |
resume()
Method used to resume the timeline. |
| Methods inherited from class negotiator.ContinuousTimeline |
|---|
getCurrentTime, getTime, getTotalMiliseconds, getTotalSeconds, getTotalTime, printElapsedSeconds, printTime |
| Methods inherited from class negotiator.Timeline |
|---|
getType, isDeadlineReached, isPaused |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PausableContinuousTimeline(int totalSecs)
| Method Detail |
|---|
public double getElapsedSeconds()
ContinuousTimeline.getTime() for a more generic version.
getElapsedSeconds in class ContinuousTimelinepublic double getElapsedMilliSeconds()
ContinuousTimeline.getTime() for a more generic version.
getElapsedMilliSeconds in class ContinuousTimelinepublic static void main(java.lang.String[] args)
public void pause()
Timeline
pause in class Timelinepublic void resume()
Timeline
resume in class Timeline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||